<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      FontForge-20170731
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.79.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-9.1">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 9.1
      </h4>
      <h3>
        Chapter&nbsp;41.&nbsp;Other X-based Programs
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="feh.html" title="feh-3.3">Prev</a>
          <p>
            feh-3.3
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="gimp.html" title="Gimp-2.10.18">Next</a>
          <p>
            Gimp-2.10.18
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="other.html" title=
          "Chapter&nbsp;41.&nbsp;Other X-based Programs">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="fontforge" name="fontforge"></a>FontForge-20170731
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to FontForge
        </h2>
        <p>
          The <span class="application">FontForge</span> package contains an
          outline font editor that lets you create your own postscript,
          truetype, opentype, cid-keyed, multi-master, cff, svg and bitmap
          (bdf, FON, NFNT) fonts, or edit existing ones.
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "https://github.com/fontforge/fontforge/releases/download/20170731/fontforge-dist-20170731.tar.xz">
                https://github.com/fontforge/fontforge/releases/download/20170731/fontforge-dist-20170731.tar.xz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: 8a717035915ab4cd78b89b0942dfa1fc
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 14 MB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 247 MB (with tests)
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: 2.2 SBU (with tests)
              </p>
            </li>
          </ul>
        </div>
        <h3>
          FontForge Dependencies
        </h3>
        <h4>
          Required
        </h4>
        <p class="required">
          <a class="xref" href="../general/freetype2.html" title=
          "FreeType-2.10.1">FreeType-2.10.1</a>, <a class="xref" href=
          "../general/glib2.html" title="GLib-2.62.4">GLib-2.62.4</a>, and
          <a class="xref" href="../general/libxml2.html" title=
          "libxml2-2.9.10">libxml2-2.9.10</a>
        </p>
        <h4>
          Recommended
        </h4>
        <p class="recommended">
          <a class="xref" href="../x/cairo.html" title=
          "Cairo-1.17.2+f93fc72c03e">Cairo-1.17.2+f93fc72c03e</a>, <a class=
          "xref" href="../x/gtk2.html" title="GTK+-2.24.32">GTK+-2.24.32</a>,
          <a class="xref" href="../general/harfbuzz.html" title=
          "HarfBuzz-2.6.4">HarfBuzz-2.6.4</a>, <a class="xref" href=
          "../x/pango.html" title="Pango-1.44.7">Pango-1.44.7</a> (required
          if Xorg libraries are present) <a class="xref" href=
          "../general/desktop-file-utils.html" title=
          "desktop-file-utils-0.24">desktop-file-utils-0.24</a>, <a class=
          "xref" href="../general/shared-mime-info.html" title=
          "shared-mime-info-1.15">shared-mime-info-1.15</a>, and <a class=
          "xref" href="../x/x7lib.html" title="Xorg Libraries">Xorg
          Libraries</a>
        </p>
        <h4>
          Optional
        </h4>
        <p class="optional">
          <a class="xref" href="../general/giflib.html" title=
          "giflib-5.2.1">giflib-5.2.1</a>, <a class="xref" href=
          "../general/libjpeg.html" title=
          "libjpeg-turbo-2.0.4">libjpeg-turbo-2.0.4</a>, <a class="xref"
          href="../general/libpng.html" title=
          "libpng-1.6.37">libpng-1.6.37</a>, <a class="xref" href=
          "../general/libtiff.html" title="LibTIFF-4.1.0">LibTIFF-4.1.0</a>,
          <a class="xref" href="../general/python2.html" title=
          "Python-2.7.17">Python-2.7.17</a>, <a class="xref" href=
          "../basicnet/wget.html" title="Wget-1.20.3">Wget-1.20.3</a> (needed
          for tests), <a class="ulink" href=
          "http://ipython.org/">IPython</a>, <a class="ulink" href=
          "https://github.com/fontforge/libspiro">libspiro</a>, <a class=
          "ulink" href=
          "https://bitbucket.org/sortsmill/libunicodenames">libunicodenames</a>,
          <a class="ulink" href=
          "https://github.com/fontforge/libuninameslist">libuninameslist</a>,
          and <a class="ulink" href="http://www.zeromq.org/">zeromq
          (libzmq)</a>
        </p>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/fontforge">http://wiki.linuxfromscratch.org/blfs/wiki/fontforge</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of FontForge
        </h2>
        <p>
          Install <span class="application">FontForge</span> by running the
          following commands:
        </p>
        <pre class="userinput">
<kbd class="command">./configure --prefix=/usr     \
            --enable-gtk2-use \
            --disable-static  \
            --docdir=/usr/share/doc/fontforge-20170731 &amp;&amp;
make</kbd>
</pre>
        <p>
          To test the results, issue: <span class="command"><strong>make
          check</strong></span>. This will download one font file.
        </p>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">make install</kbd>
</pre>
      </div>
      <div class="commands" lang="en" xml:lang="en">
        <h2 class="sect2">
          Command Explanations
        </h2>
        <p>
          <em class="parameter"><code>--enable-gtk2-use</code></em>: uses the
          GTK+2 graphics instead of basic Xorg graphics.
        </p>
        <p>
          <em class="parameter"><code>--disable-static</code></em>: This
          switch prevents installation of static versions of the libraries.
        </p>
        <p>
          <code class="option">--enable-debug</code>: Turn on <span class=
          "emphasis"><em>debug</em></span> build and FONTFORGE_DEBUG
          conditional code. Requires <a class="ulink" href=
          "https://github.com/fontforge/libspiro">libspiro</a>.
        </p>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Programs:</strong>
              <span class="segbody">fontforge, fontimage, fontlint and
              sfddiff</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Libraries:</strong>
              <span class="segbody">libfontforgeexe.so, libfontforge.so,
              libgdraw.so, libgioftp.so, libgunicode.so, libgutils.so, and
              /usr/lib/python2.7/site-packages/{fontforge,psMat}.so</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directories:</strong>
              <span class="segbody">/usr/{include,share}/fontforge and
              /usr/share/doc/fontforge-20170731</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="fontforge-prog" name=
                    "fontforge-prog"></a><span class="term"><span class=
                    "command"><strong>fontforge</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a program that allows you to create and modify font
                    files.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="fontimage" name="fontimage"></a><span class=
                    "term"><span class=
                    "command"><strong>fontimage</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a program that produces an image showing
                    representative glyphs of the font.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="fontlint" name="fontlint"></a><span class=
                    "term"><span class=
                    "command"><strong>fontlint</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a program that checks the font for certain common
                    errors.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="sfddiff" name="sfddiff"></a><span class=
                    "term"><span class=
                    "command"><strong>sfddiff</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a program that compares two font files.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-02-20 16:18:37 -0800
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="feh.html" title="feh-3.3">Prev</a>
          <p>
            feh-3.3
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="gimp.html" title="Gimp-2.10.18">Next</a>
          <p>
            Gimp-2.10.18
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="other.html" title=
          "Chapter&nbsp;41.&nbsp;Other X-based Programs">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
